<template>
  <div>
    <el-table :data="admin" :header-cell-style="{'text-align':'center'}" ref="table" :cell-style="{'text-align':'center'}">
      <el-table-column prop="id" label="id" width="100"/>
      <el-table-column prop="user_id" label="用户id" width="100"/>
      <el-table-column prop="nickname" label="昵称" width="100"/>
      <el-table-column prop="ip" label="登录ip" width="100"/>
      <el-table-column prop="device" label="登录设备" width="100"/>
      <el-table-column prop="city" label="登录城市" width="100"/>
      <el-table-column prop="created" label="创建时间" width="50"/>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "usersLoginLog",
  data() {
    return {
      admin: [
        {
          id: "1",
          user_id: "1",
          nickname: "1",
          ip: "1",
          device: "1",
          city: "1",
          created: "1"
        }
      ]
    }
  }
}
</script>

<style scoped>

</style>